
// 自动生成模板BwAssessmentTasks
package example
import (
	"time"
)

// 考核任务 结构体  BwAssessmentTasks
type BwAssessmentTasks struct {
    Id  *int `json:"id" form:"id" gorm:"primarykey;column:id;comment:考核编号;size:10;"`  //考核编号
    ExaminationId  *int `json:"examinationId" form:"examinationId" gorm:"column:examination_id;comment:模板编号;size:19;"`  //模板编号
    AuthorityId  *string `json:"authorityId" form:"authorityId" gorm:"column:authority_id;comment:角色编号;size:40;"`  //角色编号
    PaperNum  *string `json:"paperNum" form:"paperNum" gorm:"column:paper_num;comment:试卷分类;size:50;"`  //试卷分类
    Status  *string `json:"status" form:"status" gorm:"column:status;comment:状态;size:20;"`  //状态
    CreatedAt  *time.Time `json:"createdAt" form:"createdAt" gorm:"column:created_at;comment:创建时间;"`  //创建时间
    UpdatedAt  *time.Time `json:"updatedAt" form:"updatedAt" gorm:"column:updated_at;comment:修改时间;"`  //修改时间
    DeletedAt  *time.Time `json:"deletedAt" form:"deletedAt" gorm:"column:deleted_at;comment:删除时间;"`  //删除时间
    StartTime  *time.Time `json:"startTime" form:"startTime" gorm:"column:start_time;comment:考试开始时间;"`  //考试开始时间
    EndTime  *time.Time `json:"endTime" form:"endTime" gorm:"column:end_time;comment:考试截止时间;"`  //考试截止时间
}


// TableName 考核任务 BwAssessmentTasks自定义表名 bw_assessment_tasks
func (BwAssessmentTasks) TableName() string {
    return "bw_assessment_tasks"
}





